package com.koron.ticket.operation.mapper;

import com.koron.ticket.operation.bean.OperationStepBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OperationStepMapper {

    int deleteByPrimaryKey(String id);

    int insert(OperationStepBean record);

    int insertSelective(OperationStepBean record);

    OperationStepBean selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(OperationStepBean record);

    int updateByPrimaryKey(OperationStepBean record);

    int updateBatch(List<OperationStepBean> list);

    int batchInsert(@Param("list") List<OperationStepBean> list);

    int deleteByOperationId(@Param("operationId")String operationId);

    List<OperationStepBean> queryAllByOperationId(@Param("operationId")String operationId);

    int insertOrUpdateBatch(@Param("entities") List<OperationStepBean> entities);
}
